﻿using Abp.Application.Services.Dto;
using shenghua.Basics.CommodityGuaranteeSetting.Dto;
using shenghua.Common.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Basics.CommodityGuaranteeSetting
{
    public interface ICommodityGuaranteeSettingAppService
    {
        Task<CommodityGuaranteeDto> Create(CreateCommodityGuaranteeDto input);
        Task<CommodityGuaranteeDto> Update(UpdateCommodityGuaranteeDto input);
        Task SortUp(EntityDto input);
        Task SortDown(EntityDto input);
        Task SetEnabled(EntityDto input);
        Task SetDisabled(EntityDto input);
        Task Delete(DeleteDto input);
        Task<List<CommodityGuaranteeDto>> GetAll();
    }
}
